package com.tinem.platform.module.starter.jpa.entity.rbac.key;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;

/**
 * @author fzh
 * @version v1
 * @program: platform
 * @className RbacUserAuthoritiesKey
 * @description
 * @site
 * @company
 * @create 2021-06-11 11:38
 */
@Data
public class RbacUserAuthoritiesKey implements Serializable {

    @Id
    @Column(name = "c_user_id",unique = true,nullable=false)
    private String userId;

    @Id
    @Column(name = "c_authority",unique = true,nullable=false)
    private String authority;
}
